<template>
  <div id="home">
    <button @click="workone">跳转作业一</button>
    <button @click="worktwo">跳转作业二</button>
    <button @click="workthree">跳转作业三</button>
  </div>
</template>

<script>
export default {
  methods: {
    workone() {
      this.$router.push("/workone");
    },
    worktwo() {
      this.$router.push("/worktwo");
    },
    workthree() {
      this.$router.push("/workthree");
    },
  },
};
</script>
